from getInput import *
#--------Hidden Story-----------##
def getcolor(prompt, debug = False):
	validInput = False
	while not validInput:
		color = raw_input(prompt)
		color = color.lower()
		if (color == "red" or
			color == "white" or 
			color == "blue"):
			validInput = True
			print "Murica!!!"

		elif (color == "green" or 
			color == "yellow" or
			color == "black"):
			validInput = False
			print "You're not american"
		
		else:
			print "Be american"
	return color
def getanimal(prompt, debug = False):
	validInput = False
	while not validInput:
		animal = raw_input(prompt)
		animal = animal.lower()
		if animal != "bald eagle":
			validInput = False
			print "Hint: Back of a quarter."
		else: 
			validInput = True
			print "You're american"
	return animal
def getstore(prompt, debug = False):
	validInput = False
	while not validInput:
		store = raw_input(prompt)
		store = store.lower()
		if store != "wallmart":
			validInput = False
			print "Hint: The great american super store."
		else: 
			validInput = True
			print "You're american"
	return store
def hstory(debug = False):
	if debug:
		print "Story Hidden: This story is hidden"
	hstory = ""
	color = getcolor("What is your favorite color? ", debug)
	animal = getanimal("What is your favorite animal", debug)
	store = getstore("What is your favorite store?", debug)
	
	hstory += "You're American your favorite color is " + color
	hstory += ". Your favorite animal is the " + animal
	hstory += ". You bring your bald eagle to " + store
	hstory += " all the time. You should be proud!"
	
	
	print "-------Hidden Story-----------"
	print hstory
	print "------------------------------"

